package api.istsoft.ru.dal.Geo;

import android.content.SharedPreferences.Editor;

import com.google.gson.annotations.SerializedName;

public class State {
	
	@SerializedName("Id")
	private int id;

	@SerializedName("IsShow")
	private boolean isShow;
	
	@SerializedName("Sort")
	private String sort;
	
	@SerializedName("Type")
	private int type;
	
	@SerializedName("OfficialName")
	private String officialName;
	
	@SerializedName("CapitalId")
	private int capitalId;
	
	@SerializedName("CountryId")
	private int countryId;	

	@SerializedName("Name")
	private String name;

	@SerializedName("Note")
	private String note;
	
	@SerializedName("StateId")
	private String stateId;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isShow() {
		return isShow;
	}

	public void setShow(boolean isShow) {
		this.isShow = isShow;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getOfficialName() {
		return officialName;
	}

	public void setOfficialName(String officialName) {
		this.officialName = officialName;
	}

	public int getCapitalId() {
		return capitalId;
	}

	public void setCapitalId(int capitalId) {
		this.capitalId = capitalId;
	}

	public int getCountryId() {
		return countryId;
	}

	public void setCountryId(int countryId) {
		this.countryId = countryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getStateId() {
		return stateId;
	}

	public void setStateId(String stateId) {
		this.stateId = stateId;
	}
	
	@Override
	public String toString() {
		return name;
	}

	public void store(Editor editor) {
		// TODO Auto-generated method stub
		
	}
}
